#pragma once

#include <iostream>
#include <string>
#include <stdio.h>
#include <signal.h>
#include <cstring>
#include "Task.hpp"
#include "ThreadPool.hpp"
#include <pthread.h>
#include "Protocol.hpp"
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <cstdlib>
#include "Log.hpp"

#define SOCK_ERR    1
#define BIND_ERR    2
#define LISTEN_ERR  3